package com.cw.jeeyt.dao.model.security;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Table;

import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 角色资源信息Do
 *
 * @author chenw
 * @date 2020-03-18 20:05:22
 */
@Table(name = "security_role_resource")
@Getter
@Setter
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class SecurityRoleResourceDo extends SecurityRoleResourceKeyDo implements Serializable {
    private static final long serialVersionUID = 1240247925858656257L;
    /** 角色id */
    @Column(name = "role_id")
    private Long roleId;
    /** 资源id */
    @Column(name = "res_id")
    private Long resId;
    /** 角色名称 */
    private String roleName;
    /** 角色说明 */
    private String roleComment;
    /** 角色名称 */
    private String resName;
    /** 资源路径 */
    private String resUrl;
}
